// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** ds深度对话 GET /api/ai/chat */
export async function chatWithDsUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.chatWithDsUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.Fluxstring>('/api/ai/chat', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 图像识别文字 POST /api/ai/imageAnalysis */
export async function imageAnalysisUsingPost(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.imageAnalysisUsingPOSTParams,
  options?: { [key: string]: any }
) {
  return request<API.RMultiModalConversationResult>('/api/ai/imageAnalysis', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 智能体对话 POST /api/ai/stream/chat/agent */
export async function chatWithAgentUsingPost(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.chatWithAgentUsingPOSTParams,
  options?: { [key: string]: any }
) {
  return request<API.Fluxstring>('/api/ai/stream/chat/agent', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}
